package com.hcc.gateway.app.filter;

import com.hcc.gateway.netty.context.GatewayExchange;
import com.hcc.gateway.netty.filter.GatewayFilter;

/**
 * AbstractCommonGatewayFilter
 *
 * @author shengjun.hu
 * @date 2021/12/27
 */
public abstract class AbstractGatewayFilter implements GatewayFilter {

    protected void writeResponse(GatewayExchange exchange) {
        throw new RuntimeException("拦截器异常！");
    }

}
